package com.diors.game.example.server.model.scene;

import com.diors.game.engine.arpg.scene.SceneEngine;
import com.diors.game.engine.arpg.scene.SceneFactory.SceneAdapter;
import com.diors.game.engine.arpg.scene.model.SceneModel;

/**
 * 场景服务类
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013-10-28
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
public class SceneService 
{

	/**
	 * 初始化城镇野外场景
	 * @param sceneModel	场景Model
	 * @create	2013-10-28	darren.ouyang
	 */
	public static void initCity (SceneModel sceneModel)
	{
		SceneAdapter adapter = new SceneAdapter();
		adapter.setModel(sceneModel);
		SceneEngine.createScene(adapter);
	}
	
}
